package com.hotel.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class User extends BasePojo {
    @TableId(value = "user_id")
    private Integer userId;
    @TableField(value = "sort_num")
    private Integer value;
    @TableField(value = "user_name")
    private String userName;
    private String sex;
    private String password;
    private String phone;
    private String number;
    private Boolean status;
    @TableField(value = "dept_id")
    private Integer deptId;

}
